/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package flames.view;

import com.sun.awt.AWTUtilities;
import flames.images.Colors;
import flames.utils.SwingUtils;

import java.awt.Color;
import java.awt.Point;

/**
 * @author 10373
 */
public class UpdateFrame extends javax.swing.JFrame {

    private Point pressedPoint;
    public final Color NORMAL_COLOR = new Color(132, 132, 132);   // #848484
    public final Color ACTIVE_COLOR = new Color(242, 135, 24);    // #f28718

    /**
     * Creates new form NewJFrame
     */
    private UpdateFrame() {
        this.setUndecorated(true);     // 只有在窗体不可显示时才调用此方法
        this.setResizable(false);   // 设置不可以重置窗口大小
        this.getContentPane().setBackground(Color.white);   // 设置背景颜色

        this.setSize(1230, 810);
        this.setLocationRelativeTo(null);
        initComponents();
        this.successPane.setVisible(false);
//        this.RegisterLayeredPane.setVisible(false);

        SwingUtils.beautifyButtonToTransparent(existButton);
        SwingUtils.beautifyButtonToTransparent(existButton1);
        SwingUtils.beautifyButtonToTransparent(confirmBtn);
//        SwingUtils.beautifyButtonToTransparent(b);

//        SwingUtils.beautifyButtonToTransparent(registerBtn);
//        SwingUtils.beautifyButtonToTransparent(toRegisterBtn);
//        SwingUtils.beautifyButtonToTransparent(toLoginBtn);
        SwingUtils.setBtnBackground(confirmBtn, Colors.ACTIVE_COLOR);

//        SwingUtils.setBtnBackground(registerBtn, Colors.LOGIN_BTN);
//        SwingUtils.setBtnBackground(toRegisterBtn, Colors.REGISTER_BTN);
//        SwingUtils.setBtnBackground(toLoginBtn, Colors.REGISTER_BTN);

//        this.mainLayeredPane.setVisible(false);
//        this.SecurityToolsPane.setVisible(false);

        AWTUtilities.setWindowOpacity(this, 0.99f);
        AWTUtilities.setWindowOpaque(this, false);

        head.setOpaque(true);
        head1.setOpaque(true);
//        Head.setBackground(new Color(248,249,249));
//        Head.setForeground(new Color(248,249,249)); 
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        ShadowLayeredPane = new DropShadowPanel(15);
        BKG = new javax.swing.JLabel();
        loadingPane = new javax.swing.JLayeredPane();
        head = new javax.swing.JLabel();
        logo = new javax.swing.JLabel();
        forgetPwdLabel = new javax.swing.JLabel();
        existButton = new javax.swing.JButton();
        loading = new javax.swing.JLabel();
        loadingText = new javax.swing.JLabel();
        title = new javax.swing.JLabel();
        successPane = new javax.swing.JLayeredPane();
        head1 = new javax.swing.JLabel();
        logo1 = new javax.swing.JLabel();
        confirmLabel = new javax.swing.JLabel();
        existButton1 = new javax.swing.JButton();
        confirmImg = new javax.swing.JLabel();
        headTitle = new javax.swing.JLabel();
        confirmBtn = new javax.swing.JButton();
        versionInfo = new javax.swing.JLabel();
        confirmLabel1 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseDragged(java.awt.event.MouseEvent evt) {
                formMouseDragged(evt);
            }
        });
        addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                mainFrameMousePressed(evt);
            }
        });

        ShadowLayeredPane.setBackground(new java.awt.Color(255, 255, 255));

        BKG.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/SecurityToolsPane/Security_Tools_BKG.png"))); // NOI18N
        BKG.setToolTipText("");
        BKG.addMouseMotionListener(new java.awt.event.MouseMotionAdapter() {
            public void mouseDragged(java.awt.event.MouseEvent evt) {
                BKGMouseDragged(evt);
            }
        });
        BKG.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mousePressed(java.awt.event.MouseEvent evt) {
                BKGMousePressed(evt);
            }
        });

        loadingPane.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        head.setBackground(new java.awt.Color(248, 249, 249));
        loadingPane.setLayer(head, javax.swing.JLayeredPane.PALETTE_LAYER);
        loadingPane.add(head, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 460, 50));

        logo.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/mainFrame/main_Flames.png"))); // NOI18N
        loadingPane.setLayer(logo, javax.swing.JLayeredPane.MODAL_LAYER);
        loadingPane.add(logo, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, -2, 60, 50));

        forgetPwdLabel.setFont(new java.awt.Font("微软雅黑", 1, 24)); // NOI18N
        forgetPwdLabel.setForeground(new java.awt.Color(51, 51, 51));
        forgetPwdLabel.setText("正在获取服务器升级信息");
        loadingPane.setLayer(forgetPwdLabel, javax.swing.JLayeredPane.MODAL_LAYER);
        loadingPane.add(forgetPwdLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(100, 80, 300, 50));

        existButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/mainFrame/main_close.png"))); // NOI18N
        existButton.setAlignmentY(0.0F);
        existButton.setFocusPainted(false);
        existButton.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                existButtonMouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                existButtonMouseExited(evt);
            }
        });
        existButton.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                existButtonActionPerformed(evt);
            }
        });
        loadingPane.setLayer(existButton, javax.swing.JLayeredPane.MODAL_LAYER);
        loadingPane.add(existButton, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 0, 70, 50));

        loading.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/update/huanChong1.JPG"))); // NOI18N
        loadingPane.setLayer(loading, javax.swing.JLayeredPane.PALETTE_LAYER);
        loadingPane.add(loading, new org.netbeans.lib.awtextra.AbsoluteConstraints(150, 150, 180, 180));

        loadingText.setFont(new java.awt.Font("微软雅黑", 1, 24)); // NOI18N
        loadingText.setForeground(new java.awt.Color(51, 51, 51));
        loadingText.setText("Loading...");
        loadingPane.setLayer(loadingText, javax.swing.JLayeredPane.MODAL_LAYER);
        loadingPane.add(loadingText, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 410, 130, 40));

        title.setFont(new java.awt.Font("微软雅黑", 1, 24)); // NOI18N
        title.setForeground(new java.awt.Color(51, 51, 51));
        title.setText("在线升级");
        loadingPane.setLayer(title, javax.swing.JLayeredPane.MODAL_LAYER);
        loadingPane.add(title, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 0, 120, 50));

        successPane.setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        head1.setBackground(new java.awt.Color(248, 249, 249));
        successPane.setLayer(head1, javax.swing.JLayeredPane.PALETTE_LAYER);
        successPane.add(head1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 0, 460, 50));

        logo1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/mainFrame/main_Flames.png"))); // NOI18N
        successPane.setLayer(logo1, javax.swing.JLayeredPane.MODAL_LAYER);
        successPane.add(logo1, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, -2, 60, 50));

        confirmLabel.setFont(new java.awt.Font("微软雅黑", 0, 14)); // NOI18N
        confirmLabel.setForeground(new java.awt.Color(51, 51, 51));
        confirmLabel.setText("当前病毒库:2022-12-07 17:40 ");
        successPane.setLayer(confirmLabel, javax.swing.JLayeredPane.MODAL_LAYER);
        successPane.add(confirmLabel, new org.netbeans.lib.awtextra.AbsoluteConstraints(130, 390, 200, 40));

        existButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/mainFrame/main_close.png"))); // NOI18N
        existButton1.setAlignmentY(0.0F);
        existButton1.setFocusPainted(false);
        existButton1.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseEntered(java.awt.event.MouseEvent evt) {
                existButton1MouseEntered(evt);
            }
            public void mouseExited(java.awt.event.MouseEvent evt) {
                existButton1MouseExited(evt);
            }
        });
        existButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                existButton1ActionPerformed(evt);
            }
        });
        successPane.setLayer(existButton1, javax.swing.JLayeredPane.MODAL_LAYER);
        successPane.add(existButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 0, 70, 50));

        confirmImg.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/update/flamesLogo.png"))); // NOI18N
        successPane.setLayer(confirmImg, javax.swing.JLayeredPane.PALETTE_LAYER);
        successPane.add(confirmImg, new org.netbeans.lib.awtextra.AbsoluteConstraints(160, 150, 180, 180));

        headTitle.setFont(new java.awt.Font("微软雅黑", 1, 24)); // NOI18N
        headTitle.setForeground(new java.awt.Color(51, 51, 51));
        headTitle.setText("在线升级");
        successPane.setLayer(headTitle, javax.swing.JLayeredPane.MODAL_LAYER);
        successPane.add(headTitle, new org.netbeans.lib.awtextra.AbsoluteConstraints(60, 0, 120, 50));

        confirmBtn.setFont(new java.awt.Font("微软雅黑", 1, 18)); // NOI18N
        confirmBtn.setForeground(new java.awt.Color(255, 255, 255));
        confirmBtn.setText("好  的");
        confirmBtn.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                confirmBtnActionPerformed(evt);
            }
        });
        successPane.add(confirmBtn, new org.netbeans.lib.awtextra.AbsoluteConstraints(80, 450, 300, 60));

        versionInfo.setFont(new java.awt.Font("微软雅黑", 1, 24)); // NOI18N
        versionInfo.setForeground(new java.awt.Color(51, 51, 51));
        versionInfo.setText("您的火苗已是最新版本 ");
        successPane.setLayer(versionInfo, javax.swing.JLayeredPane.MODAL_LAYER);
        successPane.add(versionInfo, new org.netbeans.lib.awtextra.AbsoluteConstraints(110, 80, 250, 50));

        confirmLabel1.setFont(new java.awt.Font("微软雅黑", 0, 14)); // NOI18N
        confirmLabel1.setForeground(new java.awt.Color(51, 51, 51));
        confirmLabel1.setText("当前版本: 1.0.0");
        successPane.setLayer(confirmLabel1, javax.swing.JLayeredPane.MODAL_LAYER);
        successPane.add(confirmLabel1, new org.netbeans.lib.awtextra.AbsoluteConstraints(180, 360, 130, 40));

        ShadowLayeredPane.setLayer(BKG, javax.swing.JLayeredPane.DEFAULT_LAYER);
        ShadowLayeredPane.setLayer(loadingPane, javax.swing.JLayeredPane.PALETTE_LAYER);
        ShadowLayeredPane.setLayer(successPane, javax.swing.JLayeredPane.PALETTE_LAYER);

        javax.swing.GroupLayout ShadowLayeredPaneLayout = new javax.swing.GroupLayout(ShadowLayeredPane);
        ShadowLayeredPane.setLayout(ShadowLayeredPaneLayout);
        ShadowLayeredPaneLayout.setHorizontalGroup(
                ShadowLayeredPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(BKG, javax.swing.GroupLayout.PREFERRED_SIZE, 460, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(successPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(loadingPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
        );
        ShadowLayeredPaneLayout.setVerticalGroup(
                ShadowLayeredPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(successPane, javax.swing.GroupLayout.PREFERRED_SIZE, 560, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGroup(ShadowLayeredPaneLayout.createSequentialGroup()
                                .addGap(2, 2, 2)
                                .addGroup(ShadowLayeredPaneLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(BKG, javax.swing.GroupLayout.PREFERRED_SIZE, 560, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(loadingPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                                .addComponent(ShadowLayeredPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addContainerGap(120, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                                .addComponent(ShadowLayeredPane, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addContainerGap(108, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    private void toggleExistButtonStyle(javax.swing.JButton button) {
        if (button.isContentAreaFilled()) {
            button.setContentAreaFilled(false);
        } else {
            button.setContentAreaFilled(true);
            button.setBackground(Color.red);
        }
    }

    private void toggleNormalButtonStyle(javax.swing.JButton button) {
        if (button.isContentAreaFilled()) {
            button.setContentAreaFilled(false);
        } else {
            button.setContentAreaFilled(true);
            button.setBackground(Color.gray);
        }
    }

    private void togglePrimaryButtonStyle(javax.swing.JButton button) {
        if (button.isContentAreaFilled()) {
            button.setContentAreaFilled(false);
        } else {
            button.setContentAreaFilled(true);
            button.setBackground(ACTIVE_COLOR);
        }
    }


    private void mainFrameMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_mainFrameMousePressed
        pressedPoint = evt.getPoint();// 记录鼠标坐标
    }//GEN-LAST:event_mainFrameMousePressed

    private void formMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_formMouseDragged
        Point point = evt.getPoint();// 获取当前坐标
        Point locationPoint = getLocation();// 获取窗体坐标
        int x = locationPoint.x + point.x - pressedPoint.x;// 计算移动后的新坐标
        int y = locationPoint.y + point.y - pressedPoint.y;
        setLocation(x, y);// 改变窗体位置,（按钮可以使用边界布局,也可以使用绝对布局）

    }//GEN-LAST:event_formMouseDragged

    private void existButtonActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_existButtonActionPerformed
//        System.exit(0);
//        reset();
        toggleExistButtonStyle(existButton1);
        this.dispose();
    }//GEN-LAST:event_existButtonActionPerformed

    private void existButtonMouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_existButtonMouseEntered
        toggleExistButtonStyle(existButton);
    }//GEN-LAST:event_existButtonMouseEntered

    private void existButtonMouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_existButtonMouseExited
        toggleExistButtonStyle(existButton);
    }//GEN-LAST:event_existButtonMouseExited

    private void BKGMousePressed(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_BKGMousePressed
        mainFrameMousePressed(evt);
    }//GEN-LAST:event_BKGMousePressed

    private void BKGMouseDragged(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_BKGMouseDragged
        formMouseDragged(evt);
    }//GEN-LAST:event_BKGMouseDragged

    private void existButton1MouseEntered(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_existButton1MouseEntered
//        System.out.println("btn1 enter");
        toggleExistButtonStyle(existButton1);
    }//GEN-LAST:event_existButton1MouseEntered

    private void existButton1MouseExited(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_existButton1MouseExited
//        System.out.println("btn1 exited");
        toggleExistButtonStyle(existButton1);
    }//GEN-LAST:event_existButton1MouseExited

    private void existButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_existButton1ActionPerformed
        reset();
        toggleExistButtonStyle(existButton1);
        this.dispose(); // JavaGUI 关掉界面的特定方法, 关闭此窗口的资源
    }//GEN-LAST:event_existButton1ActionPerformed

    private void confirmBtnActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_confirmBtnActionPerformed
        reset();
        this.dispose(); // JavaGUI 关掉界面的特定方法, 关闭此窗口的资源
    }//GEN-LAST:event_confirmBtnActionPerformed


    /**
     * 辅助方法[Utils]: toggleLabelStyle()
     */
//    public void toggleLabelStyle(javax.swing.JLabel label, javax.swing.JLabel image, String imgURL) {
//        if (label.getForeground().equals(NORMAL_COLOR)) {
//            label.setForeground(ACTIVE_COLOR);
//            image.setIcon(new javax.swing.ImageIcon(getClass().getResource("/flames/images/mainFrame/Quick_Check.png")));
//        } else if (label.getForeground().equals(ACTIVE_COLOR)) {
//            label.setForeground(NORMAL_COLOR);
//            
//        }
//    }
    public void activeLabelStyle(javax.swing.JLabel label, javax.swing.JLabel image, String imgURL) {
        label.setForeground(ACTIVE_COLOR);
        image.setIcon(new javax.swing.ImageIcon(getClass().getResource(imgURL)));
    }

    public void closeActiveLabelStyle(javax.swing.JLabel label, javax.swing.JLabel image, String imgURL) {
        label.setForeground(NORMAL_COLOR);
        image.setIcon(new javax.swing.ImageIcon(getClass().getResource(imgURL)));
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html
         */
//        try {
//            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
//                if ("Nimbus".equals(info.getName())) {
//                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
//                    break;
//                }
//            }
//        } catch (ClassNotFoundException ex) {
//            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (InstantiationException ex) {
//            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (IllegalAccessException ex) {
//            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
//            java.util.logging.Logger.getLogger(NewJFrame.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
//        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                UpdateFrame.runInstance();
            }
        });
    }

    public static UpdateFrame updateFrame;

    public void jumpToSuccessPane() {
        // 关掉loadingPane 开启成功界面
        loadingPane.setVisible(false);
        loadingPane.setEnabled(false);
        successPane.setVisible(true);
        successPane.setEnabled(true);
        validate();
        repaint();
    }

    public void reset() {
        successPane.setVisible(false);
        successPane.setEnabled(false);
        loadingPane.setVisible(true);
        loadingPane.setEnabled(true);
        validate();
        repaint();
    }

    public static void runInstance() {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                if (updateFrame == null) {
                    updateFrame = new UpdateFrame();
                }
                updateFrame.setVisible(true);

                // 新建一个线程, 让这个线程去切换图片
                Thread thread = new Thread() {
                    //具体的业务代码
                    @Override
                    public void run() {
                        int p = 0;
                        while (p < 1) { // 转圈圈的圈数
                            for (int i = 1; i <= 11; i++) {
                                String imgUrl = "/flames/images/update/huanChong" + i + ".JPG";
                                updateFrame.loading.setIcon(SwingUtils.buildImageIcon(imgUrl)); // 设置图片
                                try {
                                    sleep(200); // 睡眠200毫秒
                                } catch (InterruptedException e) {
                                    throw new RuntimeException(e);
                                }
                            }
                            p++;
                        }
                        updateFrame.jumpToSuccessPane();    // 跳到成功页面
                    }

                };
                thread.start(); // 启动线程!
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel BKG;
    private javax.swing.JLayeredPane ShadowLayeredPane;
    private javax.swing.JButton confirmBtn;
    private javax.swing.JLabel confirmImg;
    private javax.swing.JLabel confirmLabel;
    private javax.swing.JLabel confirmLabel1;
    private javax.swing.JButton existButton;
    private javax.swing.JButton existButton1;
    private javax.swing.JLabel forgetPwdLabel;
    private javax.swing.JLabel head;
    private javax.swing.JLabel head1;
    private javax.swing.JLabel headTitle;
    private javax.swing.JLabel loading;
    private javax.swing.JLayeredPane loadingPane;
    private javax.swing.JLabel loadingText;
    private javax.swing.JLabel logo;
    private javax.swing.JLabel logo1;
    private javax.swing.JLayeredPane successPane;
    private javax.swing.JLabel title;
    private javax.swing.JLabel versionInfo;
    // End of variables declaration//GEN-END:variables
}


